<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('对公客户信息列表')" />
</head>
<body class="gray-bg">
     <div class="container-div">
        <div class="row">
            <div class="col-sm-12 search-collapse">
                <form id="formId">
                    <div class="select-list">
                        <ul>
                            <li>
                                <p>客户号：</p>
                                <input name="custNo"  id="custNo" type="text" class="form-control">
                            </li>
                            <li>
                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
                                <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
                            </li>
                        </ul>
                    </div>
                </form>
            </div>
            <!--<div class="btn-group-sm" id="toolbar" role="group">
                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="query:paeaDsCusvd4:add">
                    <i class="fa fa-plus"></i> 添加
                </a>
                <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="query:paeaDsCusvd4:edit">
                    <i class="fa fa-edit"></i> 修改
                </a>
                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="query:paeaDsCusvd4:remove">
                    <i class="fa fa-remove"></i> 删除
                </a>
                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="query:paeaDsCusvd4:export">
                    <i class="fa fa-download"></i> 导出
                 </a>
            </div>-->
            <div class="col-sm-12 select-table table-striped">
                <table id="bootstrap-table"></table>
            </div>
        </div>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var editFlag = [[${@permission.hasPermi('query:paeaDsCusvd4:edit')}]];
        var removeFlag = [[${@permission.hasPermi('query:paeaDsCusvd4:remove')}]];
        var ds_cusvd4_onStoMark = [[${@dict.getType('ds_cusvd4_onStoMark')}]];
        var prefix = ctx + "query/paeaDsCusvd4";

        $(function() {
            var options = {
                url: prefix + "/list",
                createUrl: prefix + "/add",
                updateUrl: prefix + "/edit/{id}",
                removeUrl: prefix + "/remove",
                exportUrl: prefix + "/export",
                modalName: "对公客户信息",
                //启用跳转至指定页
                showPageGo: true,
                //启用点击选中行
                clickToSelect: true,
                columns: [{
                    radio: true
                },
                {
                    field : 'id', 
                    title : '主键',
                    visible: false
                },
                {
                    field : 'custNo', 
                    title : '客户号',
                    align: 'center'
                },
                {
                    field : 'custName', 
                    title : '法人代表姓名',
                    align: 'center'
                },
                {
                    field : 'custId', 
                    title : '法人代表证件号',
                    align: 'center',
                    visible: false
                },
                {
                    field : 'idType', 
                    title : '法人代表证件类型',
                    align: 'center',
                    visible: false
                },
                {
                    field : 'capitalAmount',
                    title : '注册资金',
                    align: 'center'
                },
                {
                    field : 'contactRelat1', 
                    title : '联系人1',
                    align: 'center',
                    visible: false
                },
                {
                    field : 'contactPhone1', 
                    title : '联系人1电话',
                    align: 'center',
                    visible: false
                },
                {
                    field : 'contactRelat2', 
                    title : '联系人2',
                    align: 'center',
                    visible: false
                },
                {
                    field : 'contactPhone2', 
                    title : '联系人2电话',
                    align: 'center',
                    visible: false
                },
                {
                    field : 'onStoMark', 
                    title : '是否上市',
                    align: 'center',
                    formatter: function(value, row, index) {
                        return $.table.selectDictLabel(ds_cusvd4_onStoMark, value);
                    }
                },
                {
                    field : 'regCurr', 
                    title : '注册币种',
                    align: 'center'
                },
                {
                    field : 'busiScop', 
                    title : '企业行业类型',
                    align: 'center'
                },
                {
                    field : 'busiName', 
                    title : '企业名称',
                    align: 'center'
                },
                {
                    field : 'lastDate', 
                    title : '最后维护日期',
                    align: 'center',
                    visible: false
                },
                {
                    field : 'lastTelr', 
                    title : '最后维护柜员',
                    align: 'center',
                    visible: false
                },
                {
                    field : 'lastOrg', 
                    title : '最后维护机构',
                    align: 'center',
                    visible: false
                },
                {
                    field : 'contact2', 
                    title : '财务负责人',
                    align: 'center',
                    visible: false
                },
                {
                    field : 'loaCardNo', 
                    title : '贷款卡号',
                    align: 'center',
                    visible: false
                },
                {
                    field : 'regDate', 
                    title : '注册时间',
                    align: 'center',
                    visible: false
                },
                {
                    field : 'bocRiskAny', 
                    title : '是否我行风险预警客户',
                    align: 'center',
                    visible: false
                },
                {
                    field : 'busOwsp', 
                    title : '企业性质',
                    align: 'center'
                },
                {
                    field : 'ecnmCode', 
                    title : '企业经济成分',
                    align: 'center',
                    visible: false
                },
                {
                    field : 'asoBoc', 
                    title : '我行关联客户',
                    align: 'center',
                    visible: false
                },
                {
                    field : 'fundCentralGov', 
                    title : '中央政府投资公用企业',
                    align: 'center',
                    visible: false
                },
                {
                    field : 'unpaidBal', 
                    title : '未付余额',
                    align: 'center',
                    visible: false
                },
                {
                    field : 'ylyRpmt', 
                    title : '年还款',
                    align: 'center',
                    visible: false
                },
                {
                    field : 'othrBusScop', 
                    title : '兼营范围',
                    align: 'center',
                    visible: false
                },
                {
                    field : 'basicAcctBank', 
                    title : '人民币基本帐户开户行',
                    align: 'center',
                    visible: false
                },
                {
                    field : 'basicAcctNo', 
                    title : '人民币基本帐户帐号',
                    align: 'center',
                    visible: false
                }]
            };
            $.table.init(options);
        });
    </script>
</body>
</html>